package zhongbo.java.air.dictionary.model.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import zhongbo.java.air.common.enums.AircraftStatus;

import java.util.Date;

/**
 * 说明：
 *
 * @author 钟波dellNotebook
 * @since 2025年03月30日 星期日 19:33:03
 */
@ApiModel("飞机信息")
@TableName("air_aircraft")
@Data
public class AirCraft {
    @ApiModelProperty("UUID 主键")
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "ICAO 24位地址码（唯一业务编号）",example = "AFT")
    private String icaoCode;

    @ApiModelProperty(value = "飞机注册号（如 B-1234）",example = "B-1234")
    private String registration;

    @ApiModelProperty(value = "所属航空公司",example = "春秋航空")
    private String airline;

    @ApiModelProperty(value = "机型（枚举值示例：B737-800, A320-200）",example = "A320-200")
    private String aircraftType;

    @ApiModelProperty(value = "状态（枚举值：ACTIVE-运营中, MAINTENANCE-维护中, RETIRED-已退役）",example = "ACTIVE")
    private AircraftStatus status;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;


}
